package com.woniuxy.entity;

import java.util.List;

public class RbacRole {
    int rid;
    String rname;//角色名称
    String describe;//描述信息
    String status;//状态

    List<RbacPerm> permList;//一个角色 对应多个不同的权限

    @Override
    public String toString() {
        return "RbacRole{" +
                "rid=" + rid +
                ", rname='" + rname + '\'' +
                ", describe='" + describe + '\'' +
                ", status='" + status + '\'' +
                ", permList=" + permList +
                '}';
    }

    public List<RbacPerm> getPermList() {
        return permList;
    }

    public void setPermList(List<RbacPerm> permList) {
        this.permList = permList;
    }

    public int getRid() {
        return rid;
    }

    public void setRid(int rid) {
        this.rid = rid;
    }

    public String getRname() {
        return rname;
    }

    public void setRname(String rname) {
        this.rname = rname;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
